<?php

$this->title = '在线申请无抵押借款、小额借款、银行借款、汽车借款、抵押借款、住房借款、创业借款等';
?>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <title><?= $this->title?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="viewport" content="width=device-width,inital-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="/default/index.min.css">
</head>

<body>
<div class="content">
    <div class="sy_header">
        <img src="/default/sy_header_01.jpg" alt="匡企小额借款">
    </div>

    <script language="javascript">
        function checkkk()
        {
            var name=document.myform.name.value;
            if(name=="")
            {
                alert("姓名不能为空！");
                document.myform.name.focus();
                return false;
            }
            if(name.length<2)
            {
                alert("请填写正确姓名");
                document.myform.name.focus();
                return false;
            }

            var mobile=document.myform.mobile.value;
            if(mobile=="")
            {
                alert("电话不能为空！");
                document.myform.mobile.focus();
                return false;
            }
            if(mobile.length<11)
            {
                alert("电话必须为11位");
                document.myform.mobile.focus();
                return false;
            }

//            var nw=document.myform.nw.value;;
//            baa4=nw.replace(/^\s+|\s+$/g, '');
//            if(baa4=="")
//            {
//                alert("身份证地址不能为空");
//                document.myform.nw.focus();
//                return false;
//            }

            return true;
        }
    </script>


    <form method="post" action="/site/index" name="myform" id="myform" onsubmit="return checkkk()" >

        <div class="sy_body">
            <div class="cy_body_content">
                <!-- 姓名 -->
                <div class="sy_th">
                    <label>姓名</label>
                    <input type="text" placeholder="请输入真实姓名" name="name">
                </div>

                <!-- 手机 -->
                <div class="sy_th">
                    <label>手机</label>
                    <input type="text" placeholder="请输入手机号码" name="mobile">
                </div>

                <!-- 性别 -->
                <div class="sy_th">
                    <label>性别</label>
                    <select name="sex" id="sex" class="cp_select">
                        <option value="1">先生</option>
                        <option value="2">女士</option>
                    </select>
                </div>

                <!-- 金额 -->
                <div class="sy_th">
                    <label>借款金额</label>
                    <select name="amount" id="amount" class="cp_select">
                        <option value="0">请选择</option>
                        <option value="3万">3万</option>
                        <option value="5万">5万</option>
                        <option value="6万">6万</option>
                        <option value="8万">8万</option>
                        <option value="10万">10万</option>
                        <option value="15万">15万</option>
                        <option value="20万">20万</option>
                        <option value="30万">30万</option>
                        <option value="50万">50万</option>
                        <option value="150万">150万</option>
                        <option value="200万">200万</option>
                    </select>
                </div>

                <div class="sy_th">
                    <label>借款期限</label>
                    <select name="time" id="deadline" class="cp_select">
                        <option value="0">请选择</option>
                        <option value="半年">半年</option>
                        <option value="1年">1年</option>
                        <option value="2年">2年</option>
                        <option value="3年">3年</option>
                    </select>
                </div>

                <!-- 借款用途 -->
                <div class="sy_th">
                    <label>借款用途</label>
                    <select name="purpose" id="yongtu" class="cp_select">
                        <option value="买房">请选择</option>
                        <option value="买房">买房</option>
                        <option value="买车">买车</option>
                        <option value="装修">装修</option>
                        <option value="个人消费">个人消费</option>
                    </select>
                </div>

                <div class="btn_style">
                    <div class="sub_btn" id="submit_btn">

                        <input type="submit" name="send" value="确定提交" style="background:none; color:#FFFFFF;" onMouseOver="this.style.cursor='hand'"  id="Button1" class="submit">

                    </div>
                </div>
            </div>
        </div>
    </form>
    <div class="footer">
        <p>未成功放款，绝不收取任何费用！</p>
        <p>Copyright  2017 0564idc.com All Rights Reserved</p>
    </div>
</div>
<div class="systemTip"></div>
<script src="/default/jquery.min.js"></script>
<script src="/default/util.min.js"></script>
<div>
</div>

</body>
</html>

